package org.andao.core.base.model;

import javax.persistence.MappedSuperclass;

/**
 * 基础的树形结构模型.
 * 
 * @author Seewo software - Marco.hu(huzhiguo@cvte.cn)
 */
@MappedSuperclass
public abstract class TreeSupportModel extends RootModel {
	
	private static final long serialVersionUID = -3348648165687063538L;

	public abstract String getNodeName();//节点名称
	
	public abstract String getNodeCode();//节点编码
	
	public  String getNodeId(){//节点ID
		return getResourceid();
	}
	
	public abstract String getParentNodeId();//父节点ID
	
	public abstract Integer getNodeLevel();//节点层级
}
